#include<iostream>
int main()
{
	int n,i;
	char a[20];
	std::cout<<"n=";
	std::cin>>n;
	for(i=0;i<n;i++)
		{
			std::cout<<"a["<<i<<"]=";
			std::cin>>a[i];
		}
	std::cout<<"Sirul este: (";
	for(i=0;i<n;i++)
		std::cout<<a[i]<<",";
	std::cout<<") ==> (";	
	for(i=n-1;i>=0;i--)
		std::cout<<a[i]<<",";
	std::cout<<")\n";
	return 0;
}
